﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A05 RID: 2565
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class KPNJLGFLNKL : IMessage<KPNJLGFLNKL>, IMessage, IEquatable<KPNJLGFLNKL>, IDeepCloneable<KPNJLGFLNKL>, IBufferMessage
	{
		// Token: 0x1700207A RID: 8314
		// (get) Token: 0x0600730F RID: 29455 RVA: 0x00133DD5 File Offset: 0x00131FD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<KPNJLGFLNKL> Parser
		{
			get
			{
				return KPNJLGFLNKL._parser;
			}
		}

		// Token: 0x1700207B RID: 8315
		// (get) Token: 0x06007310 RID: 29456 RVA: 0x00133DDC File Offset: 0x00131FDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return KPNJLGFLNKLReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700207C RID: 8316
		// (get) Token: 0x06007311 RID: 29457 RVA: 0x00133DEE File Offset: 0x00131FEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return KPNJLGFLNKL.Descriptor;
			}
		}

		// Token: 0x06007312 RID: 29458 RVA: 0x00133DF5 File Offset: 0x00131FF5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KPNJLGFLNKL()
		{
		}

		// Token: 0x06007313 RID: 29459 RVA: 0x00133E00 File Offset: 0x00132000
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KPNJLGFLNKL(KPNJLGFLNKL other) : this()
		{
			this.gPPJCCCOGBD_ = other.gPPJCCCOGBD_;
			this.itemList_ = ((other.itemList_ != null) ? other.itemList_.Clone() : null);
			this.iDNJKLHPNLI_ = other.iDNJKLHPNLI_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007314 RID: 29460 RVA: 0x00133E58 File Offset: 0x00132058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KPNJLGFLNKL Clone()
		{
			return new KPNJLGFLNKL(this);
		}

		// Token: 0x1700207D RID: 8317
		// (get) Token: 0x06007315 RID: 29461 RVA: 0x00133E60 File Offset: 0x00132060
		// (set) Token: 0x06007316 RID: 29462 RVA: 0x00133E68 File Offset: 0x00132068
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GPPJCCCOGBD
		{
			get
			{
				return this.gPPJCCCOGBD_;
			}
			set
			{
				this.gPPJCCCOGBD_ = value;
			}
		}

		// Token: 0x1700207E RID: 8318
		// (get) Token: 0x06007317 RID: 29463 RVA: 0x00133E71 File Offset: 0x00132071
		// (set) Token: 0x06007318 RID: 29464 RVA: 0x00133E79 File Offset: 0x00132079
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList ItemList
		{
			get
			{
				return this.itemList_;
			}
			set
			{
				this.itemList_ = value;
			}
		}

		// Token: 0x1700207F RID: 8319
		// (get) Token: 0x06007319 RID: 29465 RVA: 0x00133E82 File Offset: 0x00132082
		// (set) Token: 0x0600731A RID: 29466 RVA: 0x00133E8A File Offset: 0x0013208A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IDNJKLHPNLI
		{
			get
			{
				return this.iDNJKLHPNLI_;
			}
			set
			{
				this.iDNJKLHPNLI_ = value;
			}
		}

		// Token: 0x0600731B RID: 29467 RVA: 0x00133E93 File Offset: 0x00132093
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as KPNJLGFLNKL);
		}

		// Token: 0x0600731C RID: 29468 RVA: 0x00133EA4 File Offset: 0x001320A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(KPNJLGFLNKL other)
		{
			return other != null && (other == this || (this.GPPJCCCOGBD == other.GPPJCCCOGBD && object.Equals(this.ItemList, other.ItemList) && this.IDNJKLHPNLI == other.IDNJKLHPNLI && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600731D RID: 29469 RVA: 0x00133F04 File Offset: 0x00132104
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GPPJCCCOGBD != 0U)
			{
				num ^= this.GPPJCCCOGBD.GetHashCode();
			}
			if (this.itemList_ != null)
			{
				num ^= this.ItemList.GetHashCode();
			}
			if (this.IDNJKLHPNLI != 0U)
			{
				num ^= this.IDNJKLHPNLI.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600731E RID: 29470 RVA: 0x00133F72 File Offset: 0x00132172
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600731F RID: 29471 RVA: 0x00133F7A File Offset: 0x0013217A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007320 RID: 29472 RVA: 0x00133F84 File Offset: 0x00132184
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.itemList_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.ItemList);
			}
			if (this.GPPJCCCOGBD != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.GPPJCCCOGBD);
			}
			if (this.IDNJKLHPNLI != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.IDNJKLHPNLI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007321 RID: 29473 RVA: 0x00133FFC File Offset: 0x001321FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GPPJCCCOGBD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GPPJCCCOGBD);
			}
			if (this.itemList_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ItemList);
			}
			if (this.IDNJKLHPNLI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IDNJKLHPNLI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007322 RID: 29474 RVA: 0x0013406C File Offset: 0x0013226C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(KPNJLGFLNKL other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GPPJCCCOGBD != 0U)
			{
				this.GPPJCCCOGBD = other.GPPJCCCOGBD;
			}
			if (other.itemList_ != null)
			{
				if (this.itemList_ == null)
				{
					this.ItemList = new ItemList();
				}
				this.ItemList.MergeFrom(other.ItemList);
			}
			if (other.IDNJKLHPNLI != 0U)
			{
				this.IDNJKLHPNLI = other.IDNJKLHPNLI;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007323 RID: 29475 RVA: 0x001340E8 File Offset: 0x001322E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007324 RID: 29476 RVA: 0x001340F4 File Offset: 0x001322F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 40U)
					{
						if (num != 88U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.IDNJKLHPNLI = input.ReadUInt32();
						}
					}
					else
					{
						this.GPPJCCCOGBD = input.ReadUInt32();
					}
				}
				else
				{
					if (this.itemList_ == null)
					{
						this.ItemList = new ItemList();
					}
					input.ReadMessage(this.ItemList);
				}
			}
		}

		// Token: 0x04002BF0 RID: 11248
		private static readonly MessageParser<KPNJLGFLNKL> _parser = new MessageParser<KPNJLGFLNKL>(() => new KPNJLGFLNKL());

		// Token: 0x04002BF1 RID: 11249
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002BF2 RID: 11250
		public const int GPPJCCCOGBDFieldNumber = 5;

		// Token: 0x04002BF3 RID: 11251
		private uint gPPJCCCOGBD_;

		// Token: 0x04002BF4 RID: 11252
		public const int ItemListFieldNumber = 1;

		// Token: 0x04002BF5 RID: 11253
		private ItemList itemList_;

		// Token: 0x04002BF6 RID: 11254
		public const int IDNJKLHPNLIFieldNumber = 11;

		// Token: 0x04002BF7 RID: 11255
		private uint iDNJKLHPNLI_;
	}
}
